import React from "react";
import './index.css';
import Coupon from "../../Common/svg/Coupon";

export default class Coupons extends React.Component{
    
    constructor(props){
        super();
        this.state={
            color:props.color
        }
    }
    // 课件
    
    render(){
        return(
            <div className="Coupons_Body">
                <div className="Coupons_Body_svg">
                    <Coupon />
                </div>
                <div className="Coupons_Body_title" style={{color:this.state.color}}>优惠券</div>                
            </div>
        )
    }
}
